package com.csun.cmny.provider.model.dto.follow;

import io.swagger.annotations.ApiModel;
import lombok.Data;

import javax.persistence.Column;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @Auther: chisj chisj@foxmal.com
 * @Date: 2019-02-15 14:24
 * @Description: the class up follow data heart dto
 */
@Data
@ApiModel(value = "上传随访仪心率Dto")
public class UpFollowDataHeartDto implements Serializable {

    private static final long serialVersionUID = -7089813648513928519L;

    /**
     * 设备Id
     */
    @NotNull(message = "{device.id.null}")
    private Long deviceId;

    /**
     * 老人Id
     */
    private Integer oldmanId;

    /**
     * 老人姓名
     */
    private String oldmanName;

    /**
     * 心率值
     */
    @NotNull(message = "{follow.up.heart.rate.null}")
    private Integer heartRate;
}
